package pj.pamper.clw.mvp.contract;

import com.example.framelib.entity.VersionEntity;
import com.example.framelib.mvp.frame.base.BasePresenter;
import com.example.framelib.mvp.frame.base.BaseView;

import java.io.File;
import java.util.List;

/**
 * Created by Keroro on 2017/7/19.
 */

public interface MainContract {
    public interface View extends BaseView {
        void showError(String errorMsg);
        void showSuccess();
        public void showVersion(VersionEntity version);
    }

    public interface Presenter extends BasePresenter {
        public void add(
                String reportType,
                List<File> images,
                String reportDesc,
                File voice,
                String tel
        );

        public void checkVersion();

    }
}
